package com.house.framework.mapper;


import com.house.framework.dto.LoginDto;
import com.house.framework.entity.Logininfo;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface LogininfoMapper extends BaseMapper<Logininfo> {

    Logininfo findByUsernameAndType(LoginDto loginDto);

    Logininfo findByUserId(Long user_id);

    Logininfo findByPhone(String phone);
}
